CREATE TABLE  ${tableName}(
	id varchar(50) NOT NULL,
	<#list entityData as data>
	<#if (data.name??)>
	${data.name} ${data.sqlType}<#if (data.length!="0")>(${data.length})</#if> NULL,
	</#if>
	</#list>
	PRIMARY KEY(id)
)
<#list ids as id>
	<#if id_index==0>
	  INSERT INTO ${tableName} SELECT '${id}'  
	  <#else>
	  UNION   SELECT '${id}'
	</#if>
</#list>

